import request from '@/utils/request'

export function roleSearch(data) {
    return request({
        url: '/role/search',
        method: 'post',
        data
    });
}

export function roleUpdate(data) {
    return request({
        url: '/role/updateSelective',
        method: 'post',
        data
    });
}

export function roleInsert(data) {
    return request({
        url: '/role/insert',
        method: 'post',
        data
    });
}

export function roleDelete(data) {
    return request({
        url: '/role/deleteIds',
        method: 'post',
        data
    });
}
